import { h } from 'preact';

export default function Circle(props) {
  const { x = 0, y = 0, r = 4 } = props;
  const attrs = {
    // default
    cx: x, cy: y, r,
    fill: 'transparent', fillOpacity: 1,
    strokeWidth: '1', stroke: '#000', strokeOpacity: 1,

    ...props,
  };

  return (
    <circle {...attrs} />
  );
};
